package com.zbkj.common.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户经验记录表
 * </p>
 *
 * @author Your Name
 * @since 2024-12-02
 */
@Data
  @EqualsAndHashCode(callSuper = false)
  @Accessors(chain = true)
@TableName("eb_user_experience_record")
@ApiModel(value="UserExperienceRecord对象", description="用户经验记录表")
public class UserExperienceRecord implements Serializable {

    private static final long serialVersionUID=1L;

      @ApiModelProperty(value = "记录id")
        @TableId(value = "id", type = IdType.AUTO)
      private Integer id;

      @ApiModelProperty(value = "用户uid")
      private Integer uid;

      @ApiModelProperty(value = "关联id-orderNo,(sign,system默认为0）")
      private String linkId;

      @ApiModelProperty(value = "关联类型（order,sign,system）")
      private String linkType;

      @ApiModelProperty(value = "类型：1-增加，2-扣减")
      private Integer type;

      @ApiModelProperty(value = "标题")
      private String title;

      @ApiModelProperty(value = "经验")
      private Integer experience;

      @ApiModelProperty(value = "剩余")
      private Integer balance;

      @ApiModelProperty(value = "备注")
      private String mark;

      @ApiModelProperty(value = "状态：1-成功（保留字段）")
      private Boolean status;

      @ApiModelProperty(value = "添加时间")
      private LocalDateTime createTime;

      @ApiModelProperty(value = "更新时间")
      private LocalDateTime updateTime;


}
